hipreme_engine ~master (2025-09-27T13:37:43Z)
Dub
Repo
HipremeEngineWebSocketServer
websocket_connection
Undocumented in source.
class
HipremeEngineWebSocketServer : WebSocketMessageHandler {
this
();
void
onConnectionEstablished
(WebSocketConnection conn);
void
onTextMessage
(WebSocketTextMessage msg);
static
bool
sendBinaryToSocket
(uint toSocketID, ubyte[] data);
void
onBinaryMessage
(WebSocketBinaryMessage msg);
void
onCloseMessage
(WebSocketCloseMessage msg);
}
Constructors
this
this
()
Undocumented in source.
Members
Functions
onBinaryMessage
void
onBinaryMessage
(WebSocketBinaryMessage msg)
Specification: 4 bytes is the from socket ID 4 bytes is the to socket ID
onCloseMessage
void
onCloseMessage
(WebSocketCloseMessage msg)
Undocumented in source. Be warned that the author may not have intended to support it.
onConnectionEstablished
void
onConnectionEstablished
(WebSocketConnection conn)
Undocumented in source. Be warned that the author may not have intended to support it.
onTextMessage
void
onTextMessage
(WebSocketTextMessage msg)
Undocumented in source. Be warned that the author may not have intended to support it.
Static functions
sendBinaryToSocket
bool
sendBinaryToSocket
(uint toSocketID, ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
websocket_connection
classes
HipremeEngineWebSocketServer
static variables
connections
structs
Connection